projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b21f1ca
)
Revert "*** empty log message ***"
author
Po Lu
<luangruo@yahoo.com>
Wed, 10 Nov 2021 06:04:25 +0000
(14:04 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 10 Nov 2021 06:04:25 +0000
(14:04 +0800)
This reverts commit
68a2a3307d1703ac8abe4b54c8e1ef9dda677c12
.
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index ed0e7a2aae82a8b55dbef31028d4c7ccd1e8deb6..3727f861ac6b11f0b6df9628725b6a29d9beb5bf 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-3976,6
+3976,19
@@
ns_draw_glyph_string (struct glyph_string *s)
NSRect r[2];
int n;
char box_drawn_p = 0;
+
+ struct face *face = s->face;
+ if (s->hl == DRAW_MOUSE_FACE)
+ {
+ face
+ = FACE_FROM_ID_OR_NULL (s->f,
+ MOUSE_HL_INFO (s->f)->mouse_face_face_id);
+ if (!face)
+ face = FACE_FROM_ID (s->f, MOUSE_FACE_ID);
+ }
+
+ s->face = face;
+
struct font *font = s->face->font;
if (! font) font = FRAME_FONT (s->f);